#ifndef INTERFACE_H
#define INTERFACE_H

#include <gtk/gtk.h>
#include <glade/glade.h>

#define SUCCESS 0
#define FAILURE -1
#define ACTIVITY_MODE 1
#define SERVER_LIST        0x01
#define SERVER_IMAGE_LIST  0x02
#define LOCAL_IMAGE_LIST   0x03

enum
{
  SERVER_NAME = 0,
  SERVER_IP,
  SERVER_STATE,
  NUM_COLS
};

int call(GladeXML **window, int argc, char **argv, char *str, guint treeType);
gint addListColum(GtkTreeView * treeview, char* title, char * type, int index);
gint addListRow(GtkWidget * treeview, GtkListStore **listStore, guint Type);
gint treeView(GladeXML *Window, gchar *TreeView, guint Type);
gint showDialog(GtkWindow *parent,
                GtkDialogFlags flags,
	            GtkMessageType type,
                GtkButtonsType buttons,
                const gchar *message_format,
                ...);

#endif
